package com.totoro.service.impl;

import com.totoro.mapper.ColorRgbMapper;
import com.totoro.pojo.ColorRgb;
import com.totoro.service.ColorRgbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author TOTORO
 * @date 2021/7/5 18:51
 */
@Service
public class ColorRgbServiceImpl implements ColorRgbService {

    @Autowired
    ColorRgbMapper rgbMapper;

    @Override
    public List<ColorRgb> findAllColor() {
        return rgbMapper.findAllColor();
    }
}
